﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>JavaScript实验网页</title>
</head>
<body>
	<h4>Hello Html</h4>
	<p>Html是做网站的语言,<strong>H</strong>yper <strong>T</strong>ext <strong>M</strong>arkup <strong>L</strong>anguage</p>
	<p>下面即将开始试验我的今生的第一个JavaScript程序!一个小时后再说吧</p>
	<p>吃完饭再说吧</p>
	<span>hello</span>
	<code>回来了</code>
	<br />
	<button onclick ="Myfunction()">点击查看时间</button><br />
	<button onclick="outHelloworld()">点击输出helloworld</button><br />
	<button onclick="f2()">点击输出10 * 10</button>
	<script>
		function Myfunction(){
			document.write(Date())
		}
		function outHelloworld(){
			var s = "hello world"
			document.write(s)
		}
		function f2() {
			a = 10
			b = 10
			Console.log(a * b)
		}
	</script>
</body>
</html>